100
I have a picture on the control's background, the question is how do I draw selection as semi-transparent

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Picture = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oList.SelBackMode = 1
oList.Columns.Add("Column")
oList.Items.Add("Item 1")
oList.Items.Add("Item 2")

99
It seems that the control uses the TAB key, is there any way to avoid that
local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.UseTabKey = false

98
How do I assign a database to your control, using ADO, ADOR or ADODB objects

local oList,rs

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.ColumnAutoResize = false
oList.ContinueColumnScroll = false
rs = new OleAutoClient("ADOR.Recordset")
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExList\Sample\Access\SAMPLE.ACCDB",3,3)
oList.DataSource = rs

97
How do I change the visual appearance effect for the selected item, using EBN

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oList.SelBackColor = 0x1000000
oList.SelForeColor = 0x0
oList.ShowFocusRect = false
oList.Columns.Add("Column")
oList.Items.Add(0)
oList.Items.Add(1)

96
How do I change the colors for the selected item

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.SelBackColor = 0x0
oList.Columns.Add("Column")
oList.Items.Add(0)
oList.Items.Add(1)

95
How do I get ride of the rectangle arround focused item

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.ShowFocusRect = false
oList.Columns.Add("Column")
oList.Items.Add(0)
oList.Items.Add(1)

94
How can I change the control's font

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Font.Name = "Tahoma"
oList.Columns.Add("Column")

93
I can't scroll to the end of the data. What can I do

local oList,var_Items,var_Items1,var_Items2,var_Items3

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.ScrollBySingleLine = true
oList.DrawGridLines = -1
oList.Columns.Add("Column")
var_Items = oList.Items
	// var_Items.ItemHeight(var_Items.Add(0)) = 13
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.ItemHeight(Add(0)) = 13]
	endwith
oList.PutItems(oList.GetItems(0))
var_Items1 = oList.Items
	// var_Items1.ItemHeight(var_Items1.Add(1)) = 26
	with (oList)
		TemplateDef = [dim var_Items1]
		TemplateDef = var_Items1
		Template = [var_Items1.ItemHeight(Add(1)) = 26]
	endwith
oList.PutItems(oList.GetItems(0))
var_Items2 = oList.Items
	// var_Items2.ItemHeight(var_Items2.Add(2)) = 36
	with (oList)
		TemplateDef = [dim var_Items2]
		TemplateDef = var_Items2
		Template = [var_Items2.ItemHeight(Add(2)) = 36]
	endwith
oList.PutItems(oList.GetItems(0))
var_Items3 = oList.Items
	// var_Items3.ItemHeight(var_Items3.Add(3)) = 48
	with (oList)
		TemplateDef = [dim var_Items3]
		TemplateDef = var_Items3
		Template = [var_Items3.ItemHeight(Add(3)) = 48]
	endwith
oList.PutItems(oList.GetItems(0))

92
Is there any option to select an item using the right button of the mouse (rclick)

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.RClickSelect = true
oList.Columns.Add("Column")
oList.Items.Add("Item 1")
oList.Items.Add("Item 2")

91
How do I edit a cell

/*
with (this.EXLISTACTIVEXCONTROL1.nativeObject)
	AfterCellEdit = class::nativeObject_AfterCellEdit
endwith
*/
// Occurs after data in the current cell is edited.
function nativeObject_AfterCellEdit(ItemIndex,ColIndex,NewCaption)
	local var_Items
	oList = form.EXLISTACTIVEXCONTROL1.nativeObject
	// oList.Items.Caption(ItemIndex,ColIndex) = NewCaption
	var_Items = oList.Items
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.Caption(ItemIndex,ColIndex) = NewCaption]
	endwith
return

/*
with (this.EXLISTACTIVEXCONTROL1.nativeObject)
	CancelCellEdit = class::nativeObject_CancelCellEdit
endwith
*/
// Occurs if the edit operation is canceled.
function nativeObject_CancelCellEdit(ItemIndex,ColIndex,Reserved)
	local var_Items
	oList = form.EXLISTACTIVEXCONTROL1.nativeObject
	// oList.Items.Caption(ItemIndex,ColIndex) = Reserved
	var_Items = oList.Items
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.Caption(ItemIndex,ColIndex) = Reserved]
	endwith
return

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.AllowEdit = true
oList.Columns.Add("Column")
oList.Items.Add("Item 1")
oList.Items.Add("Item 2")

90
I have FullRowSelect property on False, how do I select a column

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.SelectColumnIndex = 1
oList.FullRowSelect = false

89
How can I scroll columns one by one, not pixel by pixel
local oList,var_Column,var_Column1,var_Column2,var_Column3,var_Column4

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.ContinueColumnScroll = false
oList.ColumnAutoResize = false
// oList.Columns.Add("1").Width = 128
var_Column = oList.Columns.Add("1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Width = 128]
endwith
// oList.Columns.Add("2").Width = 128
var_Column1 = oList.Columns.Add("2")
with (oList)
	TemplateDef = [dim var_Column1]
	TemplateDef = var_Column1
	Template = [var_Column1.Width = 128]
endwith
// oList.Columns.Add("3").Width = 128
var_Column2 = oList.Columns.Add("3")
with (oList)
	TemplateDef = [dim var_Column2]
	TemplateDef = var_Column2
	Template = [var_Column2.Width = 128]
endwith
// oList.Columns.Add("4").Width = 128
var_Column3 = oList.Columns.Add("4")
with (oList)
	TemplateDef = [dim var_Column3]
	TemplateDef = var_Column3
	Template = [var_Column3.Width = 128]
endwith
// oList.Columns.Add("5").Width = 128
var_Column4 = oList.Columns.Add("5")
with (oList)
	TemplateDef = [dim var_Column4]
	TemplateDef = var_Column4
	Template = [var_Column4.Width = 128]
endwith

88
How can I enable multiple items selection

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.SingleSel = false
oList.Columns.Add("Column")
oList.Items.Add(0)
oList.Items.Add(1)
oList.Items.Add(2)

87
How can I programmatically change the column where incremental searching is performed

local oList,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Columns.Add("Column 1")
oList.Columns.Add("Column 2")
var_Items = oList.Items
	// var_Items.Caption(var_Items.Add("Item 1"),1) = "SubItem 1"
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.Caption(Add("Item 1"),1) = "SubItem 1"]
	endwith
oList.SearchColumnIndex = 1

86
How do I disable the full-row selection in the control

local oList,var_Column,var_Columns,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.FullRowSelect = false
var_Columns = oList.Columns
	var_Columns.Add("C1")
	var_Columns.Add("C2")
	var_Columns.Add("C3")
	// var_Columns.Item(0).Position = 1
	var_Column = var_Columns.Item(0)
	with (oList)
		TemplateDef = [dim var_Column]
		TemplateDef = var_Column
		Template = [var_Column.Position = 1]
	endwith
var_Items = oList.Items
	var_Items.Add("One")
	var_Items.Add("Two")
	var_Items.Add("Three")

85
Is there any option to specify the height of the items, before adding them

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.DefaultItemHeight = 32
oList.Columns.Add("Column")
oList.Items.Add("One")
oList.Items.Add("Two")

84
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns

local oList,var_Column,var_Column1,var_Column2,var_Column3,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.CountLockedColumns = 1
oList.BackColorLock = 0xf0f0f0
oList.ColumnAutoResize = false
// oList.Columns.Add("Locked").Width = 128
var_Column = oList.Columns.Add("Locked")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Width = 128]
endwith
// oList.Columns.Add("Un-Locked 1").Width = 128
var_Column1 = oList.Columns.Add("Un-Locked 1")
with (oList)
	TemplateDef = [dim var_Column1]
	TemplateDef = var_Column1
	Template = [var_Column1.Width = 128]
endwith
// oList.Columns.Add("Un-Locked 2").Width = 128
var_Column2 = oList.Columns.Add("Un-Locked 2")
with (oList)
	TemplateDef = [dim var_Column2]
	TemplateDef = var_Column2
	Template = [var_Column2.Width = 128]
endwith
// oList.Columns.Add("Un-Locked 3").Width = 128
var_Column3 = oList.Columns.Add("Un-Locked 3")
with (oList)
	TemplateDef = [dim var_Column3]
	TemplateDef = var_Column3
	Template = [var_Column3.Width = 128]
endwith
var_Items = oList.Items
	// var_Items.Caption(var_Items.Add("locked"),1) = "unlocked"
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.Caption(Add("locked"),1) = "unlocked"]
	endwith

83
How do I change the control's background / foreground color on the locked area

local oList,var_Column,var_Column1,var_Column2,var_Column3,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.CountLockedColumns = 1
oList.ForeColorLock = 0xf0f0f0
oList.BackColorLock = 0x808080
oList.ColumnAutoResize = false
// oList.Columns.Add("Locked").Width = 128
var_Column = oList.Columns.Add("Locked")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Width = 128]
endwith
// oList.Columns.Add("Un-Locked 1").Width = 128
var_Column1 = oList.Columns.Add("Un-Locked 1")
with (oList)
	TemplateDef = [dim var_Column1]
	TemplateDef = var_Column1
	Template = [var_Column1.Width = 128]
endwith
// oList.Columns.Add("Un-Locked 2").Width = 128
var_Column2 = oList.Columns.Add("Un-Locked 2")
with (oList)
	TemplateDef = [dim var_Column2]
	TemplateDef = var_Column2
	Template = [var_Column2.Width = 128]
endwith
// oList.Columns.Add("Un-Locked 3").Width = 128
var_Column3 = oList.Columns.Add("Un-Locked 3")
with (oList)
	TemplateDef = [dim var_Column3]
	TemplateDef = var_Column3
	Template = [var_Column3.Width = 128]
endwith
var_Items = oList.Items
	// var_Items.Caption(var_Items.Add("locked"),1) = "unlocked"
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.Caption(Add("locked"),1) = "unlocked"]
	endwith

82
How do I change the control's foreground color

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.ForeColor = 0x787878
oList.Columns.Add("Column")
oList.Items.Add("item")

81
How do I change the control's background color

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.BackColor = 0xc8c8c8

80
How do I use my own icons for my radio buttons

local oList,var_Column,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oList.Template = [RadioImage(0) = 1] // oList.RadioImage(false) = 1
oList.Template = [RadioImage(1) = 2] // oList.RadioImage(true) = 2
// oList.Columns.Add("Radio").Def(1) = true
var_Column = oList.Columns.Add("Radio")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Def(1) = True]
endwith
var_Items = oList.Items
	var_Items.Add("Radio 1")
	// var_Items.CellState(var_Items.Add("Radio 2"),0) = 1
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellState(Add("Radio 2"),0) = 1]
	endwith
	var_Items.Add("Radio 3")

79
How do I use my own icons for checkbox cells

local oList,var_Column,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oList.Template = [CheckImage(0) = 1] // oList.CheckImage(0) = 1
oList.Template = [CheckImage(1) = 2] // oList.CheckImage(1) = 2
// oList.Columns.Add("Check").Def(0) = true
var_Column = oList.Columns.Add("Check")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Def(0) = True]
endwith
var_Items = oList.Items
	var_Items.Add("Check 1")
	// var_Items.CellState(var_Items.Add("Check 2"),0) = 1
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellState(Add("Check 2"),0) = 1]
	endwith

78
How do I perform my own sorting when user clicks the column's header

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.SortOnClick = 1
oList.Columns.Add("Column")
oList.Items.Add("Item 1")
oList.Items.Add("Item 2")

77
How do I disable sorting a specified column when clicking its header
local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Columns.Add("1")
// oList.Columns.Add("NoSort").AllowSort = false
var_Column = oList.Columns.Add("NoSort")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.AllowSort = False]
endwith

76
How do I disable sorting the columns when clicking the control's header
local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.SortOnClick = 0
oList.Columns.Add("1")
oList.Columns.Add("2")

75
How do I put a picture on the center of the control

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Picture = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oList.PictureDisplay = 17

74
How do I resize/stretch a picture on the control's background

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Picture = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oList.PictureDisplay = 49

73
How do I put a picture on the control's center right bottom side

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Picture = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oList.PictureDisplay = 34

72
How do I put a picture on the control's center left bottom side

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Picture = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oList.PictureDisplay = 32

71
How do I put a picture on the control's center top side

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Picture = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oList.PictureDisplay = 1

70
How do I put a picture on the control's right top corner

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Picture = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oList.PictureDisplay = 2

69
How do I put a picture on the control's left top corner

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Picture = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oList.PictureDisplay = 0

68
How do I put a picture on the control's background

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Picture = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")

67
How do I sort descending a column, and put the sorting icon in the column's header

local oList,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Columns.Add("Column")
var_Items = oList.Items
	var_Items.Add("Item 1")
	var_Items.Add("Item 2")
	var_Items.Add("Item 3")
oList.Columns.Item(0).SortOrder = 2

66
How do I sort ascending a column, and put the sorting icon in the column's header

local oList,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Columns.Add("Column")
var_Items = oList.Items
	var_Items.Add("Item 3")
	var_Items.Add("Item 1")
	var_Items.Add("Item 2")
oList.Columns.Item(0).SortOrder = 1

65
How do I perform my own/custom sort, using my extra numbers

local oList,var_Column,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("desc").SortType = 5
var_Column = oList.Columns.Add("desc")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 5]
endwith
var_Items = oList.Items
	// var_Items.CellData(var_Items.Add(0),0) = 2
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellData(Add(0),0) = 2]
	endwith
	// var_Items.CellData(var_Items.Add(1),0) = 1
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellData(Add(1),0) = 1]
	endwith
	// var_Items.CellData(var_Items.Add(2),0) = 0
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellData(Add(2),0) = 0]
	endwith
	var_Items.Sort(0,false)

64
By default, the column gets sorted as strings, so how do I sort a column by time only

local oList,var_Column,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("desc").SortType = 4
var_Column = oList.Columns.Add("desc")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 4]
endwith
var_Items = oList.Items
	var_Items.Add("11:00")
	var_Items.Add("10:10")
	var_Items.Add("12:12")
	var_Items.Sort(0,false)

63
By default, the column gets sorted as strings, so how do I sort a column by date and time

local oList,var_Column,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("desc").SortType = 3
var_Column = oList.Columns.Add("desc")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 3]
endwith
var_Items = oList.Items
	var_Items.Add("1/1/2001 11:00")
	var_Items.Add("1/1/2001 10:10")
	var_Items.Add("1/3/2003")
	var_Items.Sort(0,false)

62
By default, the column gets sorted as strings, so how do I sort a column by dates

local oList,var_Column,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("desc").SortType = 2
var_Column = oList.Columns.Add("desc")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 2]
endwith
var_Items = oList.Items
	var_Items.Add("1/1/2001")
	var_Items.Add("1/2/2002")
	var_Items.Add("1/3/2003")
	var_Items.Sort(0,false)

61
How do I sort a column by numbers

local oList,var_Column,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("desc").SortType = 1
var_Column = oList.Columns.Add("desc")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 1]
endwith
var_Items = oList.Items
	var_Items.Add(1)
	var_Items.Add(5)
	var_Items.Add(10)
	var_Items.Sort(0,false)

60
How do I hide the control's header bar
local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.HeaderVisible = false

59
How do change the visual appearance for the control's header bar, using EBN

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oList.BackColorHeader = 0x1000000

58
How do I remove the control's border
local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Appearance = 0

57
How can I get ride/hide of the "Filter For" field

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterPattern = false

56
How do I filter for items that match exactly the specified string

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 240
	var_Column.Filter = "Item 1"
oList.Items.Add("Item 1")
oList.Items.Add("Item 2")
oList.Items.Add("Item 3")
oList.ApplyFilter()

55
How can I can I programmatically filter for items with a specified icon assigned

local oList,var_Column,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 10
	var_Column.Filter = Str(1)
var_Items = oList.Items
	// var_Items.CellImage(var_Items.Add("Image 1"),0) = 1
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellImage(Add("Image 1"),0) = 1]
	endwith
	// var_Items.CellImage(var_Items.Add("Image 1"),0) = 1
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellImage(Add("Image 1"),0) = 1]
	endwith
	// var_Items.CellImage(var_Items.Add("Image 2"),0) = 2
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellImage(Add("Image 2"),0) = 2]
	endwith
	// var_Items.CellImage(var_Items.Add("Image 3"),0) = 3
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellImage(Add("Image 3"),0) = 3]
	endwith
oList.ApplyFilter()

54
How can I can I programmatically filter the checked items

local oList,var_Column,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	// var_Column.Def(0) = true
	with (oList)
		TemplateDef = [dim var_Column]
		TemplateDef = var_Column
		Template = [var_Column.Def(0) = True]
	endwith
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 6
	var_Column.Filter = Str(0)
oList.Items.Add(0)
var_Items = oList.Items
	// var_Items.CellState(var_Items.Add(1),0) = 1
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellState(Add(1),0) = 1]
	endwith
oList.Items.Add(2)
oList.ApplyFilter()

53
How can I can I filter programmatically the items based on some numerichal rules

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 5
	var_Column.Filter = "> 0 <= 1"
oList.Items.Add(0)
oList.Items.Add(1)
oList.Items.Add(2)
oList.ApplyFilter()

52
How can I can I filter programmatically the items based on a range/interval of dates

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
	var_Column.FilterType = 4
	var_Column.Filter = "1/1/2001 to 1/1/2002"
oList.Items.Add("1/1/2001")
oList.Items.Add("2/1/2002")
oList.ApplyFilter()

51
How can I can I filter programmatically given a specified pattern using wild characters like * or

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 3
	var_Column.Filter = "0*"
oList.Items.Add(0)
oList.Items.Add("00")
oList.Items.Add(1)
oList.Items.Add("11")
oList.ApplyFilter()

50
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
oList.ApplyFilter()

49
How can I display the column's filter

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("").DisplayFilterButton = true
var_Column = oList.Columns.Add("")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.DisplayFilterButton = True]
endwith

48
How can I show only the vertical scroll bar

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.ColumnAutoResize = true
oList.ScrollBars = 10
oList.Columns.Add(Str(1))
oList.Columns.Add(Str(2))

47
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 6
	var_Column.Filter = Str(0)
oList.Template = [Description(21) = "Check_On"] // oList.Description(21) = "Check_On"
oList.Template = [Description(22) = "Check_Off"] // oList.Description(22) = "Check_Off"
oList.ApplyFilter()

46
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 6
oList.Template = [Description(19) = "with check on"] // oList.Description(19) = "with check on"
oList.Template = [Description(20) = "with check off"] // oList.Description(20) = "with check off"

45
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oList.Template = [Description(18) = "Du Lu Ma Mi Jo Vi Si"] // oList.Description(18) = "Du Lu Ma Mi Jo Vi Si"
oList.ApplyFilter()

44
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oList.Template = [Description(17) = "Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"] // oList.Description(17) = "Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"
oList.ApplyFilter()

43
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oList.Template = [Description(16) = "Azi"] // oList.Description(16) = "Azi"
oList.ApplyFilter()

42
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oList.Template = [Description(13) = "->"] // oList.Description(13) = "->"
oList.ApplyFilter()

41
How can I filter the items that are between an interval/range of dates

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oList.ApplyFilter()

40
Can I change the "Date:" caption when the column's drop down filter window is shown

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oList.Template = [Description(12) = "Range"] // oList.Description(12) = "Range"
oList.ApplyFilter()

39
Can I filter for values using OR - NOT , instead AND operator

local oList,var_Column,var_Column1,var_Column2

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column 1")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
var_Column1 = oList.Columns.Add("Column 2")
	var_Column1.DisplayFilterButton = true
	var_Column1.FilterType = 1
var_Column2 = oList.Columns.Add("Column 3")
	var_Column2.DisplayFilterButton = true
	var_Column2.FilterType = 1
oList.FilterCriteria = "%0 or not %1 and %2"
oList.ApplyFilter()

38
Can I change the NOT string in the filter bar

local oList,var_Column,var_Column1

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column 1")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
var_Column1 = oList.Columns.Add("Column 2")
	var_Column1.DisplayFilterButton = true
	var_Column1.FilterType = 2
oList.FilterCriteria = "not %0 or %1"
oList.Template = [Description(24) = " ! "] // oList.Description(24) = " ! "
oList.Template = [Description(10) = " ! IsBlank"] // oList.Description(10) = " ! IsBlank"
oList.ApplyFilter()

37
Can I change the OR string in the filter bar

local oList,var_Column,var_Column1

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column 1")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
var_Column1 = oList.Columns.Add("Column 2")
	var_Column1.DisplayFilterButton = true
	var_Column1.FilterType = 2
oList.FilterCriteria = "%0 or %1"
oList.Template = [Description(23) = " | "] // oList.Description(23) = " | "
oList.ApplyFilter()

36
Can I change the AND string in the filter bar

local oList,var_Column,var_Column1

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column 1")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
var_Column1 = oList.Columns.Add("Column 2")
	var_Column1.DisplayFilterButton = true
	var_Column1.FilterType = 2
oList.Template = [Description(11) = " & "] // oList.Description(11) = " & "
oList.ApplyFilter()

35
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Column = oList.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
oList.Template = [Description(9) = "Is Empty"] // oList.Description(9) = "Is Empty"
oList.Template = [Description(10) = "Is Not Empty"] // oList.Description(10) = "Is Not Empty"
oList.ApplyFilter()

34
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window
local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column").DisplayFilterButton = true
var_Column = oList.Columns.Add("Column")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.DisplayFilterButton = True]
endwith
oList.Template = [Description(4) = ""] // oList.Description(4) = ""
oList.Template = [Description(5) = ""] // oList.Description(5) = ""
oList.Template = [Description(6) = ""] // oList.Description(6) = ""
oList.Template = [Description(7) = ""] // oList.Description(7) = ""
oList.Template = [Description(8) = ""] // oList.Description(8) = ""
oList.Template = [Description(14) = ""] // oList.Description(14) = ""
oList.Template = [Description(15) = ""] // oList.Description(15) = ""

33
How can I change the "Filter For" caption in the column's drop down filter window

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column").DisplayFilterButton = true
var_Column = oList.Columns.Add("Column")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.DisplayFilterButton = True]
endwith
oList.Template = [Description(3) = "new caption"] // oList.Description(3) = "new caption"

32
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column").DisplayFilterButton = true
var_Column = oList.Columns.Add("Column")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.DisplayFilterButton = True]
endwith
oList.Template = [Description(0) = ""] // oList.Description(0) = ""
oList.Template = [Description(1) = ""] // oList.Description(1) = ""
oList.Template = [Description(2) = ""] // oList.Description(2) = ""

31
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column").DisplayFilterButton = true
var_Column = oList.Columns.Add("Column")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.DisplayFilterButton = True]
endwith
oList.Template = [Description(0) = "new name for (All)"] // oList.Description(0) = "new name for (All)"

30
How can I change the position of the column

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Columns.Add("Column 1")
// oList.Columns.Add("Column 2").Position = 0
var_Column = oList.Columns.Add("Column 2")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Position = 0]
endwith

29
Can I make strikeout the column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column 1").HeaderStrikeOut = true
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HeaderStrikeOut = True]
endwith

28
How can I apply an strikeout font only a portion of the column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column 1").HTMLCaption = "<s>Col</s>umn 1"
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<s>Col</s>umn 1"]
endwith

27
How can I get underlined only a portion of column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column 1").HTMLCaption = "<u>Col</u>umn 1"
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<u>Col</u>umn 1"]
endwith

26
How can I underline the column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column 1").HeaderUnderline = true
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HeaderUnderline = True]
endwith

25
How can I apply an italic font only a portion of the column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column 1").HTMLCaption = "<i>Col</i>umn 1"
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<i>Col</i>umn 1"]
endwith

24
Is there any option to make italic the column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column 1").HeaderItalic = true
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HeaderItalic = True]
endwith

23
How can I bold only a portion of the column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column 1").HTMLCaption = "<b>Col</b>umn 1"
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<b>Col</b>umn 1"]
endwith

22
Is there any option to bold the column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column 1").HeaderBold = true
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HeaderBold = True]
endwith

21
Is there any option to change the color for the grid lines

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Columns.Add("")
oList.DrawGridLines = -1
oList.GridLineColor = 0xff

20
Can I change the font to display the column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.HeaderHeight = 34
// oList.Columns.Add("Column 1").HTMLCaption = "<font Tahoma;14>Column</font> 1"
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<font Tahoma;14>Column</font> 1"]
endwith

19
Can I change the height of the header bar

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.HeaderHeight = 32

18
Can I display multiple icons to the column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oList.Columns.Add("Column 1").HTMLCaption = "1<img>1</img> 2 <img>2</img>..."
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "1<img>1</img> 2 <img>2</img>..."]
endwith

17
How can I show the control's grid lines

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.MarkSearchColumn = false
oList.DrawGridLines = -1
oList.Columns.Add("Column 1")
oList.Columns.Add("Column 2")
oList.Items.Add(0)
oList.Items.Add(1)
oList.Items.Add(2)

16
How can I assign a different background color for the entire column

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.MarkSearchColumn = false
// oList.Columns.Add("Column 1").Def(4) = 255
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Def(4) = 255]
endwith
oList.Columns.Add("Column 2")
oList.Items.Add(0)
oList.Items.Add(1)
oList.Items.Add(2)

15
How can I assign a check box for a cell

local oList,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Columns.Add("Column 1")
var_Items = oList.Items
	var_Items.Add(0)
	// var_Items.CellHasCheckBox(var_Items.Add(1),0) = true
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellHasCheckBox(Add(1),0) = True]
	endwith
	var_Items.Add(2)

14
How can I assign checkboxes for the entire column

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Column 1").Def(0) = true
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Def(0) = True]
endwith
oList.Items.Add(0)
oList.Items.Add(1)
oList.Items.Add(2)

13
How can I show both scrollbars

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.ScrollBars = 15

12
How can I change the column's width

local oList,var_Column,var_Column1

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.ColumnAutoResize = false
// oList.Columns.Add("Column 1").Width = 64
var_Column = oList.Columns.Add("Column 1")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Width = 64]
endwith
// oList.Columns.Add("Column 2").Width = 128
var_Column1 = oList.Columns.Add("Column 2")
with (oList)
	TemplateDef = [dim var_Column1]
	TemplateDef = var_Column1
	Template = [var_Column1.Width = 128]
endwith

11
How can I show or hide a column
local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Hidden").Visible = false
var_Column = oList.Columns.Add("Hidden")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Visible = False]
endwith

10
How can I hide the searching column

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.MarkSearchColumn = false
oList.Columns.Add("Column 1")
oList.Columns.Add("Column 2")
oList.Items.Add()

9
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Unsortable").AllowSort = false
var_Column = oList.Columns.Add("Unsortable")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.AllowSort = False]
endwith
oList.Columns.Add("Sortable")

8
Is there any option to align the header to the left and the data to the right

local oList,var_Column,var_Column1,var_Items

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("Left").Alignment = 0
var_Column = oList.Columns.Add("Left")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Alignment = 0]
endwith
var_Column1 = oList.Columns.Add("Right")
	var_Column1.Alignment = 2
	var_Column1.HeaderAlignment = 2
var_Items = oList.Items
	// var_Items.Caption(var_Items.Add("left"),1) = "right"
	with (oList)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.Caption(Add("left"),1) = "right"]
	endwith

7
Can I displays a custom size picture to column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Template = [HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"] // oList.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
oList.HeaderHeight = 48
// oList.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> Column <img>pic1</img> Picture"
var_Column = oList.Columns.Add("ColumnName")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<b>HTML</b> Column <img>pic1</img> Picture"]
endwith

6
How can I insert an icon to column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oList.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> Column <img>1</img> Icon"
var_Column = oList.Columns.Add("ColumnName")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<b>HTML</b> Column <img>1</img> Icon"]
endwith

5
How can I insert an icon to column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oList.Columns.Add("ColumnName").HeaderImage = 1
var_Column = oList.Columns.Add("ColumnName")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HeaderImage = 1]
endwith

4
How can I use HTML format in column's header

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn"
var_Column = oList.Columns.Add("ColumnName")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn"]
endwith

3
How can I change/rename the column's name

local oList,var_Column

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
// oList.Columns.Add("ColumnName").Caption = "NewName"
var_Column = oList.Columns.Add("ColumnName")
with (oList)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Caption = "NewName"]
endwith

2
How can I add multiple columns

local oList,var_Columns

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
var_Columns = oList.Columns
	var_Columns.Add("Column 1")
	var_Columns.Add("Column 2")

1
How can I add a new column

local oList

oList = form.EXLISTACTIVEXCONTROL1.nativeObject
oList.Columns.Add("ColumnName")